package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.dto.NursingProjectPageDTO;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingProjectService {

    /**
     * 护理项目的条件分页查询
     * @param nursingProjectPageDTO
     * @return
     */
    PageResponse pageCondition(NursingProjectPageDTO nursingProjectPageDTO);

    /**
     * 插入护理项
     * @param nursingProjectDto
     */
    void insert(NursingProjectDto nursingProjectDto);

    /**
     * 根据ID查询护理项
     * @param id
     * @return
     */
    NursingProjectVo getById(Long id);

    /**
     * 更新护理项接口
     * @param nursingProjectDto
     */
    void update(NursingProjectDto nursingProjectDto);

    List<NursingProjectVo> selectAll();

}
